package com.ruoyi.wvp.service;

import java.util.List;
import com.ruoyi.wvp.domain.SurveillanceSupervisor;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
/**
 * 督导员审核Service接口
 * 
 * @author ruoyi
 * @date 2024-10-24
 */
public interface ISurveillanceSupervisorService extends IService<SurveillanceSupervisor>{
    /**
     * 查询督导员审核
     * 
     * @param id 督导员审核主键
     * @return 督导员审核
     */
    public SurveillanceSupervisor selectSurveillanceSupervisorById(Long id);

    /**
     * 查询督导员审核列表
     * 
     * @param surveillanceSupervisor 督导员审核
     * @return 督导员审核集合
     */
    public List<SurveillanceSupervisor> selectSurveillanceSupervisorList(SurveillanceSupervisor surveillanceSupervisor);

    /**
     * 新增督导员审核
     * 
     * @param surveillanceSupervisor 督导员审核
     * @return 结果
     */
    public int insertSurveillanceSupervisor(SurveillanceSupervisor surveillanceSupervisor);

    /**
     * 修改督导员审核
     * 
     * @param surveillanceSupervisor 督导员审核
     * @return 结果
     */
    public int updateSurveillanceSupervisor(SurveillanceSupervisor surveillanceSupervisor);

    /**
     * 批量删除督导员审核
     * 
     * @param ids 需要删除的督导员审核主键集合
     * @return 结果
     */
    public int deleteSurveillanceSupervisorByIds(Long[] ids);

    /**
     * 删除督导员审核信息
     * 
     * @param id 督导员审核主键
     * @return 结果
     */
    public int deleteSurveillanceSupervisorById(Long id);

     /**
        * 查询所有督导员审核信息
        *
        * @return 结果
        */
    List<SurveillanceSupervisor> listAll(SurveillanceSupervisor surveillanceSupervisor);
     /**
        * 分页查询督导员审核信息
        *
        * @return 结果
        */
    Page<SurveillanceSupervisor> pageList(Page<SurveillanceSupervisor> page,SurveillanceSupervisor surveillanceSupervisor);
    //确认在岗
     int  onDuty(Long id);

    //确认离岗
    int leaveDuty(Long id);


    void freeSpace();

}
